package com.design.visitor.general;
/**
 * 具体元素
 * @author:         cong zhi
 * @createDate:     2023/8/4 14:21
 * @updateUser:     cong zhi
 * @updateDate:     2023/8/4 14:21
 * @updateRemark:   修改内容
 * @version:        v1.0
 */
public class ConcreteElementA implements Element {
    @Override
    public void accept(Visitor visitor) {
        visitor.visit(this);
    }

    public String operationA() {
        return this.getClass().getSimpleName();
    }
}
